#include <iostream>
#include <cstdalign>
#include <ctime>
using namespace std;

int main()
{
    int n, k, x, y;
    srand(time(0));
    cin>>n;
    if(n<0) cout<<"Necorectno";
k=0;
for(int i=0;i<n;i++)
    {
    x=rand()%201-100;
    y=rand()%201-100;
    if((x<=5)&&(x>=-7)&&(y>=-8)&&(y<=5))
        k=k=1;
    }
cout<<"Skok pif-paf "<<n<<endl;
cout<<"Skok dirok "<<k;

    return 0;
}
